package com.qy.bean ;

import java.io.Serializable;
import java.util.Date;

/**
* u_driver_info 
* @author zhangwenlong
* @date   Sat Feb 10 17:49:10 GMT+08:00 2018
*/ 
public class DriverInfo extends DataObject  implements Serializable {

	/**
     * 
     */
    private static final long serialVersionUID = 1L;

	/**  */
	private int id;

	/** 第三方id */
	private String thirdId;

	/** 头像 */
	private String image;

	/** 最后一次登录日期 */
	private Date loginDate;

	/** 登录ip */
	private String loginIp;

	/** 用户类型 */
	private int userType;

	/** 姓名 */
	private String userName;

	/** 性別 */
	private int sex;

	/** 状态 */
	private int userStatus;

	/** 创建日期 */
	private Date createDate;

	/** 电话 */
	private String phone;

	/** 驾驶证正面 */
	private String drivingLicenceImage1;

	/** 驾驶证背面 */
	private String drivingLicenceImage2;

	/** 身份证号码 */
	private String card;

	/** 钱 */
	private int money;

	/** 临时密匙 */
	private String tmpSecret;

	/** 银行名称 */
	private String bankName;

	/** 银行卡号 */
	private String bankCar;

	public void setId(int id) {
		if (this.id != id) {
			this.id = id;
			setOp(Option.Update);
		}
	}

	public int getId() {
		return id;
	}

	public void setThirdId(String thirdId) {
		if(this.thirdId == null || !this.thirdId.equals(thirdId)) {
			this.thirdId = thirdId;
			setOp(Option.Update);
		}
	}

	public String getThirdId() {
		return thirdId;
	}

	public void setImage(String image) {
		if(this.image == null || !this.image.equals(image)) {
			this.image = image;
			setOp(Option.Update);
		}
	}

	public String getImage() {
		return image;
	}

	public void setLoginDate(Date loginDate) {
		if(this.loginDate == null || !this.loginDate.equals(loginDate)) {
			this.loginDate = loginDate;
			setOp(Option.Update);
		}
	}

	public Date getLoginDate() {
		return loginDate;
	}

	public void setLoginIp(String loginIp) {
		if(this.loginIp == null || !this.loginIp.equals(loginIp)) {
			this.loginIp = loginIp;
			setOp(Option.Update);
		}
	}

	public String getLoginIp() {
		return loginIp;
	}

	public void setUserType(int userType) {
		if (this.userType != userType) {
			this.userType = userType;
			setOp(Option.Update);
		}
	}

	public int getUserType() {
		return userType;
	}

	public void setUserName(String userName) {
		if(this.userName == null || !this.userName.equals(userName)) {
			this.userName = userName;
			setOp(Option.Update);
		}
	}

	public String getUserName() {
		return userName;
	}

	public void setSex(int sex) {
		if (this.sex != sex) {
			this.sex = sex;
			setOp(Option.Update);
		}
	}

	public int getSex() {
		return sex;
	}

	public void setUserStatus(int userStatus) {
		if (this.userStatus != userStatus) {
			this.userStatus = userStatus;
			setOp(Option.Update);
		}
	}

	public int getUserStatus() {
		return userStatus;
	}

	public void setCreateDate(Date createDate) {
		if(this.createDate == null || !this.createDate.equals(createDate)) {
			this.createDate = createDate;
			setOp(Option.Update);
		}
	}

	public Date getCreateDate() {
		return createDate;
	}

	public void setPhone(String phone) {
		if(this.phone == null || !this.phone.equals(phone)) {
			this.phone = phone;
			setOp(Option.Update);
		}
	}

	public String getPhone() {
		return phone;
	}

	public void setDrivingLicenceImage1(String drivingLicenceImage1) {
		if(this.drivingLicenceImage1 == null || !this.drivingLicenceImage1.equals(drivingLicenceImage1)) {
			this.drivingLicenceImage1 = drivingLicenceImage1;
			setOp(Option.Update);
		}
	}

	public String getDrivingLicenceImage1() {
		return drivingLicenceImage1;
	}

	public void setDrivingLicenceImage2(String drivingLicenceImage2) {
		if(this.drivingLicenceImage2 == null || !this.drivingLicenceImage2.equals(drivingLicenceImage2)) {
			this.drivingLicenceImage2 = drivingLicenceImage2;
			setOp(Option.Update);
		}
	}

	public String getDrivingLicenceImage2() {
		return drivingLicenceImage2;
	}

	public void setCard(String card) {
		if(this.card == null || !this.card.equals(card)) {
			this.card = card;
			setOp(Option.Update);
		}
	}

	public String getCard() {
		return card;
	}

	public void setMoney(int money) {
		if (this.money != money) {
			this.money = money;
			setOp(Option.Update);
		}
	}

	public int getMoney() {
		return money;
	}

	public void setTmpSecret(String tmpSecret) {
		if(this.tmpSecret == null || !this.tmpSecret.equals(tmpSecret)) {
			this.tmpSecret = tmpSecret;
			setOp(Option.Update);
		}
	}

	public String getTmpSecret() {
		return tmpSecret;
	}

	public void setBankName(String bankName) {
		if(this.bankName == null || !this.bankName.equals(bankName)) {
			this.bankName = bankName;
			setOp(Option.Update);
		}
	}

	public String getBankName() {
		return bankName;
	}

	public void setBankCar(String bankCar) {
		if(this.bankCar == null || !this.bankCar.equals(bankCar)) {
			this.bankCar = bankCar;
			setOp(Option.Update);
		}
	}

	public String getBankCar() {
		return bankCar;
	}

}

